# 投资年限计算

m=eval(input("存款"))
r=eval(input("年利率"))
x=eval(input("金额"))

n = 0
profit = 0
while profit < x:
    profit = (profit + m) * (r + 1)
    n += 1

print(n)